const commitTooking = {
  // 搜索关键字
  shechDat: (state, data) => {
    state.shechIput = data
  },
  // header权限
  updateNave: (state, data) => {
    state.nav = data
  },
  // 地图列表
  addMapList: (state, data) => {
    state.mapList = data
  },
  // 请求体
  httpTo: (state, data) => {
    state.http = data
  },
  // 请求体
  addOder: (state, data) => {
    state.addOderData = data
  },
  // 运输列表
  transportListTo: (state, data) => {
    state.transportList = data
  },
  // 操作是否成功
  updateStatusTo: (state, data) => {
    state.updateStatus = data.body
  },
  // 语言切换
  updateLanguage: (state, data) => {
    state.language.check = data
  },
  // 支持的城市列表
  commitCityList: (state, data) => {
    state.cityListData = data
  },
  // 跟新user
  updateUser: (state, data) => {
    state.userData = data.body
  },
  // 设备列表
  updateDeviceList: (state, data) => {
    state.DeviceList = data
  },
  // updateUserList
  updateUserList: (state, data) => {
    state.UserList = data
  },
  // loginOut
  loginOut: (state, data) => {
    state.token = 's5x78d47xs5x78d47xs5x78d47x25'
    state.shechIput = null
    state.mapList = null
    state.cityListData = null
    state.transportList = null
    state.updateStatus = null
    state.userData = null
  },
  // 公司列表
  updateCompanyList: (state, data) => {
    state.CompanyList = data
  },
  // 设备记录列表
  commitUpdateList: (state, data) => {
    state.updateList = data
  },
  // 跟新 列表信息
  commitBizDetails: (state, data) => {
    state.Detail = data
  },
  // 侧栏控制
  naveTo: (state, data) => {
    state.showNave = data
  },
}
export default { commitTooking }
